body{
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.code-wrapper{
    flex: 1;
    height: 50%;
}
#code{
    overflow: hidden;
    height: 100%;
}
.preview-wrapper{
    flex: 1;
    height: 50%;
}
.actions{
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}
.actions>button{
    margin: 10px;
    padding: 10px 8px;
    border: none;
    background-color: #ddd;
}
.actions>button.active{
    box-shadow: 1px 1px 1px rgba(0,0,0,0.8);
}
.actions>button:focus{
    outline: none;
}